layui.use('layer',function () {
    let layer = layui.layer;
    let  management = layui.sessionData("management").management;
    if (management!=undefined){
        //layer.msg("欢迎回来"+management.nickname)
    }else {
        window.location.replace("login.html");
    }
});